3.3.36 \(\int (c x)^m (b x^2+c x^4) \, dx\)

Optimal. Leaf size=34 \[ \frac {b (c x)^{m+3}}{c^3 (m+3)}+\frac {(c x)^{m+5}}{c^4 (m+5)} \]

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 34, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.059, Rules used = {14} \begin {gather*} \frac {b (c x)^{m+3}}{c^3 (m+3)}+\frac {(c x)^{m+5}}{c^4 (m+5)} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(c*x)^m*(b*x^2 + c*x^4),x]

[Out]

(b*(c*x)^(3 + m))/(c^3*(3 + m)) + (c*x)^(5 + m)/(c^4*(5 + m))

Rule 14

Int[(u_)*((c_.)*(x_))^(m_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*u, x], x] /; FreeQ[{c, m}, x] && SumQ[u]
 &&  !LinearQ[u, x] &&  !MatchQ[u, (a_) + (b_.)*(v_) /; FreeQ[{a, b}, x] && InverseFunctionQ[v]]

Rubi steps

\begin {align*} \int (c x)^m \left (b x^2+c x^4\right ) \, dx &=\int \left (\frac {b (c x)^{2+m}}{c^2}+\frac {(c x)^{4+m}}{c^3}\right ) \, dx\\ &=\frac {b (c x)^{3+m}}{c^3 (3+m)}+\frac {(c x)^{5+m}}{c^4 (5+m)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 27, normalized size = 0.79 \begin {gather*} x^3 (c x)^m \left (\frac {b}{m+3}+\frac {c x^2}{m+5}\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(c*x)^m*(b*x^2 + c*x^4),x]

[Out]

x^3*(c*x)^m*(b/(3 + m) + (c*x^2)/(5 + m))

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.05, size = 0, normalized size = 0.00 \begin {gather*} \int (c x)^m \left (b x^2+c x^4\right ) \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[(c*x)^m*(b*x^2 + c*x^4),x]

[Out]

Defer[IntegrateAlgebraic][(c*x)^m*(b*x^2 + c*x^4), x]

________________________________________________________________________________________

fricas [A]  time = 0.80, size = 39, normalized size = 1.15 \begin {gather*} \frac {{\left ({\left (c m + 3 \, c\right )} x^{5} + {\left (b m + 5 \, b\right )} x^{3}\right )} \left (c x\right )^{m}}{m^{2} + 8 \, m + 15} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x)^m*(c*x^4+b*x^2),x, algorithm="fricas")

[Out]

((c*m + 3*c)*x^5 + (b*m + 5*b)*x^3)*(c*x)^m/(m^2 + 8*m + 15)

________________________________________________________________________________________

giac [A]  time = 0.20, size = 56, normalized size = 1.65 \begin {gather*} \frac {\left (c x\right )^{m} c m x^{5} + 3 \, \left (c x\right )^{m} c x^{5} + \left (c x\right )^{m} b m x^{3} + 5 \, \left (c x\right )^{m} b x^{3}}{m^{2} + 8 \, m + 15} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x)^m*(c*x^4+b*x^2),x, algorithm="giac")

[Out]

((c*x)^m*c*m*x^5 + 3*(c*x)^m*c*x^5 + (c*x)^m*b*m*x^3 + 5*(c*x)^m*b*x^3)/(m^2 + 8*m + 15)

________________________________________________________________________________________

maple [A]  time = 0.00, size = 39, normalized size = 1.15 \begin {gather*} \frac {\left (c m \,x^{2}+3 c \,x^{2}+b m +5 b \right ) x^{3} \left (c x \right )^{m}}{\left (m +5\right ) \left (m +3\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c*x)^m*(c*x^4+b*x^2),x)

[Out]

(c*x)^m*(c*m*x^2+3*c*x^2+b*m+5*b)*x^3/(m+5)/(3+m)

________________________________________________________________________________________

maxima [A]  time = 1.43, size = 34, normalized size = 1.00 \begin {gather*} \frac {c^{m + 1} x^{5} x^{m}}{m + 5} + \frac {b c^{m} x^{3} x^{m}}{m + 3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x)^m*(c*x^4+b*x^2),x, algorithm="maxima")

[Out]

c^(m + 1)*x^5*x^m/(m + 5) + b*c^m*x^3*x^m/(m + 3)

________________________________________________________________________________________

mupad [B]  time = 4.15, size = 38, normalized size = 1.12 \begin {gather*} \frac {x^3\,{\left (c\,x\right )}^m\,\left (5\,b+b\,m+3\,c\,x^2+c\,m\,x^2\right )}{m^2+8\,m+15} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c*x)^m*(b*x^2 + c*x^4),x)

[Out]

(x^3*(c*x)^m*(5*b + b*m + 3*c*x^2 + c*m*x^2))/(8*m + m^2 + 15)

________________________________________________________________________________________

sympy [A]  time = 0.76, size = 119, normalized size = 3.50 \begin {gather*} \begin {cases} \frac {- \frac {b}{2 x^{2}} + c \log {\relax (x )}}{c^{5}} & \text {for}\: m = -5 \\\frac {b \log {\relax (x )} + \frac {c x^{2}}{2}}{c^{3}} & \text {for}\: m = -3 \\\frac {b c^{m} m x^{3} x^{m}}{m^{2} + 8 m + 15} + \frac {5 b c^{m} x^{3} x^{m}}{m^{2} + 8 m + 15} + \frac {c c^{m} m x^{5} x^{m}}{m^{2} + 8 m + 15} + \frac {3 c c^{m} x^{5} x^{m}}{m^{2} + 8 m + 15} & \text {otherwise} \end {cases} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x)**m*(c*x**4+b*x**2),x)

[Out]

Piecewise(((-b/(2*x**2) + c*log(x))/c**5, Eq(m, -5)), ((b*log(x) + c*x**2/2)/c**3, Eq(m, -3)), (b*c**m*m*x**3*
x**m/(m**2 + 8*m + 15) + 5*b*c**m*x**3*x**m/(m**2 + 8*m + 15) + c*c**m*m*x**5*x**m/(m**2 + 8*m + 15) + 3*c*c**
m*x**5*x**m/(m**2 + 8*m + 15), True))

________________________________________________________________________________________